str=input("print something\n")
count_a=0
count_b=0
#for i in range(len(str)):
#	if str[i]=="a":
#		count_a=count_a+1
#	elif str[i]=="b":
#		count_b=count_b+1
for i in str:
	if i=="a":
		count_a=count_a+1
	elif i=="b":
		count_b=count_b+1


print("'a' is found ",count_a," times")
print("'b' is found ",count_b, " times")

